package com.example.vv.model.chat.base.contract;

import com.example.vv.frameWork.base.BaseView;
import com.example.vv.frameWork.entity.ChatEntity;
import com.example.vv.frameWork.net.API_FACTORY;
import com.example.vv.frameWork.net.NetUrl;
import com.example.vv.req.REQ_CHAT;
import com.example.vv.res.BaseRespont;

import io.reactivex.Observable;


public interface ChatContract {
    interface Model {
        default Observable<BaseRespont> POST_API_CHAT(REQ_CHAT req){
            return API_FACTORY.POST_API_CHAT(req);
        }
    }

    interface View extends BaseView {
        void setChatList(ChatEntity chatEntity);
    }

    interface Presenter {
    }
}
